namespace C1.Win.C1FlexGrid
{
    using System;
    using System.Windows.Forms;

    public class KeyEditEventArgs : EventArgs
    {
        public readonly bool Alt;
        public readonly int Col;
        public readonly bool Control;
        public bool Handled;
        public readonly Keys KeyCode;
        public readonly Keys KeyData;
        public readonly int KeyValue;
        public readonly Keys Modifiers;
        public readonly int Row;
        public readonly bool Shift;

        internal KeyEditEventArgs(int row, int col, KeyEventArgs e)
        {
            this.Row = row;
            this.Col = col;
            this.Alt = e.Alt;
            this.Shift = e.Shift;
            this.Control = e.Control;
            this.KeyCode = e.KeyCode;
            this.KeyData = e.KeyData;
            this.KeyValue = e.KeyValue;
            this.Modifiers = e.Modifiers;
            this.Handled = false;
        }
    }
}

